package net.hserver.admin.monitor.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.time.LocalDateTime;

/** 文件监控表 - table_file */
@Data
@Table("table_file")
public class TableFile {
    @Id(value = "id", keyType = KeyType.Auto)
    private Integer id;
    /**关键字*/
    private String keyword;
    /**高危内容*/
    private String content;
    /**AI判定结果*/
    private String aiResult;
    /**文件类型*/
    private String fileType;
    /**文件路径*/
    private String filePath;
    /**文件大小*/
    private Long fileSize;
    /**创建时间*/
    @Column(onInsertValue = "now()")
    private LocalDateTime createTime;
    /**云端文件路径*/
    private String serverFilePath;
}